import Layout from '@/layout'

const wxMaRouter = [{
  path: '/wxMa',
  component: Layout,
  redirect: '/wxMa/wxMaAuthorize',
  alwaysShow: true,
  name: 'wxMa',
  meta: {
    title: '小程序管理',
    icon: 'lock'
  },
  children: [
    {
      path: 'wxMaAuthorize',
      component: () => import('@/views/wxMa/wxMaAuthorize'),
      name: 'wxMaAuthorize',
      meta: {
        title: '微信小程序 - '
      }
    },
    {
      path: 'wxMaMessageTemplate',
      component: () => import('@/views/wxMa/wxMaMessageTemplate'),
      name: 'wxMaMessageTemplate',
      meta: {
        title: '消息模板 - '
      }
    }
  ]
}]
export default wxMaRouter
